#include <stdio.h>

// goto 
int main(void)
{
	int num;

	printf("请输入成绩:");
LOOP:
	scanf("%d", &num);
	if (num < 0 || num > 100) {
		printf("请重新输入:");
		goto LOOP;		
	}

	printf("num:%d\n", num);

	return 0;
}

